//check campi del form di login
function check_form_login(form)
{ 
	check = true;
	
	if ((form.mail.value == ""))
	{
		form.mail.focus();
		check = false; 
	}
	if ((form.pass.value == ""))
	{
		form.pass.focus(); 
		check = false;
	}
	
	return check;
}